package com.koron.order.risk.base.bean.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.koron.order.risk.base.excel.RiskStringStringConvertor;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author jzp
 * @since 2023/1/10
 */
@ExcelIgnoreUnannotated
@Data
public class LineRiskExcel {

    /**
     * 标题
     */
    @ExcelProperty(index = 0)
    @ApiModelProperty("标题")
    private String title;

    /**
     * 线路名称
     */
    @ExcelProperty(index = 1)
    @ApiModelProperty("线路")
    private String equipmentName;

    @ExcelProperty(index = 2)
    @ApiModelProperty("塔段")
    private String lineRiskPartStr;

    /**
     * 跟进部门名称
     */
    @ExcelProperty(index = 3)
    @ApiModelProperty("跟进部门")
    private String followDeptName;

    /**
     * 风险子类
     */
    @ExcelProperty(index = 4)
    @ApiModelProperty("风险子类")
    private String riskType;

    /**
     * 风险关键字
     */
    @ExcelProperty(index = 5)
    @ApiModelProperty("风险关键字")
    private String riskKeyword;

    /**
     * 风险等级 risk_level
     */
    @ExcelProperty(index = 6, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("风险等级 risk_level")
    private String riskLevel;

    /**
     * 对线路的影响 risk_influence_for_line
     */
    @ExcelProperty(index = 7, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("对线路的影响 risk_influence_for_line")
    private String influenceForLine;

    /**
     * 处理方式 risk_handler_way
     */
    @ExcelProperty(index = 8, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("处理方式 risk_handler_way")
    private String handlerWay;

    /**
     * 风险来源 risk_source
     */
    @ExcelProperty(index = 9, converter = RiskStringStringConvertor.class)
    @ApiModelProperty("风险来源 risk_source")
    private String riskSource;

    /**
     * 发现人名字
     */
    @ExcelProperty(index = 10)
    @ApiModelProperty("发现人")
    private String finderName;

    /**
     * 缺陷发现时间
     */
    @ExcelProperty(index = 11)
    @ApiModelProperty("发现时间")
    private Date findTime;

    /**
     * 风险描述
     */
    @ExcelProperty(index = 12)
    @ApiModelProperty("风险描述")
    private String descr;

    /**
     * 处置建议
     */
    @ExcelProperty(index = 13)
    @ApiModelProperty("处置建议")
    private String suggestion;

    /**
     * 备注
     */
    @ExcelProperty(index = 14)
    @ApiModelProperty("备注")
    private String remark;

}
